/**
 * 沪深港通资金流向
 */
import { MoneyFlowHsgtDto } from '../dto/MoneyFlowHsgtDto'
import { fetchPost } from './BaseApi';

export const fetchMoneyFlowHsgt = async (startDate: string, endDate: string) => {
  let params: MoneyFlowHsgtDto = {
    start_date: startDate,
    end_date: startDate,
    limit: 5
  };
  const data = await fetchPost("moneyflow_hsgt", params);
  return data;
}